package com.ygqh.baby.service;

import java.util.Date;

import com.ygqh.baby.ao.CodeType;

public interface YgFrameCodeService {

	/**
	 * 获取单据code值
	 * 
	 * @param codeType
	 * @param date
	 * @return
	 */
	public Long getFrameCode(CodeType codeType, Date date);

	String getFrameCode(CodeType codeType, Date date, int length);
	
	String getFrameCode(CodeType codeType, Date date,String format, int length);

}
